package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


/**
 * 环信用户对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "FreezingUser")
public class FreezingUser implements Serializable {

    private static final long serialVersionUID = -3136732836884933178L;

    private ObjectId id;
    private Integer userId;
    private Integer freezingTime;       //     '冻结时间，1为冻结3天，2为冻结7天，3为永久冻结',
    private Integer freezingRange;      //    '冻结范围，1为冻结登录，2为冻结发言，3为冻结发布动态',
    private String reasonsForFreezing; //'冻结原因',
    private String frozenRemarks;      //    '冻结备注',
    private Long created;
}
